package com.cl.edu.entity;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 投诉建议
 */
@Entity
@Table(name = "ts")
public class Ts implements java.io.Serializable {

	private Integer id;					//id
	private Integer fromId;				//投诉人
	private String content;				//内容
	private Date createTime;			//时间
	private String replayContent;		//回复内容 
	private Date replayTime;			//回复时间
	private Integer isReplay;			//是否回复
	
	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "from_teacher")
	public Integer getFromId() {
		return fromId;
	}

	public void setFromId(Integer fromId) {
		this.fromId = fromId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name = "create_time")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "replay_content")
	public String getReplayContent() {
		return replayContent;
	}

	public void setReplayContent(String replayContent) {
		this.replayContent = replayContent;
	}

	@Column(name = "replay_time")
	public Date getReplayTime() {
		return replayTime;
	}

	public void setReplayTime(Date replayTime) {
		this.replayTime = replayTime;
	}

	@Column(name = "is_replay")
	public Integer getIsReplay() {
		return isReplay;
	}

	public void setIsReplay(Integer isReplay) {
		this.isReplay = isReplay;
	}


	
}